package com.example.demo.service;

import com.example.demo.pojo.TreeQuestionLabel;
import com.example.demo.pojo.entity.QuestionLabel;
import com.example.demo.pojo.vo.LabelShowVO;

import java.util.List;

/**
 * @author fjh
 */
public interface ILabelService {
    List<LabelShowVO>  initLabel(int rootId) throws Exception;

    QuestionLabel searchLabelById(int labelId);

    List<LabelShowVO> searchLabelByName(int rootId,String labelName) throws Exception;

    QuestionLabel addLabelBySameLevel(int labelId, String labelName);

    QuestionLabel addLabelByChildrenLevel(int labelId, String labelName);

    List<Integer> getLabelId(int subjectId);
}
